//Created by peskanda
#ifndef HOMEDEPOT_H_
#define HOMEDEPOT_H_
#include "sharedDefinitions.h"
#include "locks.h"
#include "aisle.h"

class Store {
	private:
		Locks* AllTheLocks;  //peskanda: I needed this, so I added it in here. Please verify.
    public:
		//peskanda: These are defined as public and should remain public because they are shared data
		//please dont move them into private
		Aisle* aisles[MAX_AISLES];
		Locks* GetAllTheLocks();
        Store(Locks* theLocks);
        ~Store();
        /*
         * Given an item ID, this will return its corresponding aisle number.
         * Customers will call this directly 75% of times,
         * 25% of the times, customer needs to wait for a stock boy so he can call
         * this function.
         */
        int GetAisleNumber(int itemIDNumber);
        bool RestockItem(int itemIDNumber);
        bool PickupItem(int itemIDNumber);
        void CreateAisles();
};

#endif
